Skip to content

Use eventstore.Notifier - #168

Merged
mattn merged 1 commit into
fiatjaf:masterfrom
mattn:use-eventstore-notifier
Sep 14, 2026
Merged

mattn merged 1 commit into
fiatjaf:masterfrom
mattn:use-eventstore-notifier

Conversation

@mattn

@mattn mattn commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #167.

fiatjaf/eventstore#77 (released as v0.17.14) defines Notifier on the storage side and implements it for PostgresBackend with LISTEN/NOTIFY. This bumps eventstore and makes relayer.Notifier an alias of eventstore.Notifier, so a relay on the postgresql storage propagates events between instances with no code of its own — resolveNotifier already falls back to the store.

No API change beyond the alias (the method set is identical). Tests pass with the bumped dependency.

eventstore v0.17.14 defines Notifier and implements it for PostgreSQL
with LISTEN/NOTIFY, so relays on that storage propagate events between
instances without implementing anything. Alias the relayer type to it.
@mattn
mattn merged commit d6ff563 into fiatjaf:master Sep 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant